package com.gzx.qc.modular.voice.text.service;

import com.gzx.qc.modular.voice.text.entity.GzxHtVoiceText;
import org.apache.kafka.clients.consumer.ConsumerRecord;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/1/22 09:08
 */
public interface GzxHtVoiceTextService {

    /**
     * 批量新增语音转的文字
     *
     * @param consumerRecordList
     */
    void saveVoiceText(List<ConsumerRecord<String, String>> consumerRecordList);

    /**
     * 根据CallID获取通话文本
     *
     * @param callId
     * @return
     */
    List<GzxHtVoiceText> getTextByCallId(String callId);

}
